package com.xxx.demo.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xxx.demo.entity.CustomerEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxx.demo.entity.TUsers;
import org.apache.ibatis.annotations.Param;

/**
 * @Entity com.xxx.demo.entity.CustomerTable
 */
public interface CustomerMapper extends BaseMapper<CustomerEntity> {
    /**
     *分页查询用户
     * @param page
     * @param customerEntity
     * @return
     */
    IPage<CustomerEntity> selectCustomer(Page<CustomerEntity> page, @Param("customer")CustomerEntity customerEntity);

    CustomerEntity findById(String id);
}




